package com.csap.framework.oauth2.request;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.oauth2.BaseRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 确认授权参数
 *
 * @author yangchengfu
 * @dataTime 2021年-08月-03日 10:38:00
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
@ApiModel("确认授权参数")
public class DoConfirmRequest extends BaseRequest<DoConfirmRequest> {
    @ApiModelProperty(value = "作用域", forceReq = true, required = true)
    @NotNull(message = "作用域不能为空")
    private String scope;
}
